package com.gxuwz.easyschool;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.ListView;

import com.gxuwz.easyschool.adapter.NewsBulletinAdapter;

public class NewsBulletinActivity extends AppCompatActivity {

    private ListView news_bulletin_list;
    private ImageView news_bulletin_back;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_news_bulletin);
        news_bulletin_list = findViewById(R.id.news_bulletin_list);
        NewsBulletinAdapter newsBulletinAdapter = new NewsBulletinAdapter(this);
        news_bulletin_list.setAdapter(newsBulletinAdapter);
        news_bulletin_back = findViewById(R.id.news_bulletin_back);
        news_bulletin_back.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
    }
}